#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main(){
	int count = 0;
	for (int i = 2; i <= 100; i++){
		for (int j = 2; j < i; j++){
			if (i%j == 0){
				count++;
				break;
			}
			else{
				count = 0;
			}
		}
		if (count == 0){
			printf("%dyes\n", i);
		}
		else{
			prinf("%dno\n", i);
		}
	}
	return 0;
}